/* 清楚元素默认样式 */
/* 清楚内外边距 */
*{
    margin: 0;
    padding: 0;
}
/* 清楚列表样式 */
li{
    list-style: none;
}
/* 去掉button 自带的边框 */
button{
    border: none;
}
body{
    background-color: aliceblue;
}
/* 去链接下划线 */
a{
    text-decoration: none;
}
.w{
    width: 1200px;
    margin: auto;
}
/* header start */
.tou{
    height: 42px;
    margin: 30px auto;

}
.logo{
    float: left;
    margin-left: 60px;
    margin-right: 40px;
}
.nav{
    float: left;
}
.nav ul li {
    float: left;
}
.nav ul li a{
    display: block;
    height: 40px;
    padding: 0 10px;
    margin-right: 20px;
    /* 行高，垂直居中 */
    line-height: 40px;
    font-size: 18px;
    color: rgb(80, 76, 76);
}
.nav ul li a:hover{
    border-bottom: 2px solid #5197ff;
}
.search{
    float: left;
    margin-left: 70px;
}
.search input{
    float: left;
    width: 340px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right:none;
    padding-left: 20px;
    color: #ccc;
}
.search button{
    float: left;
    width: 50px;
    height: 40px;
    background: url(img/btn.png);
}
.user{
    float: left;
    height: 42px;
    line-height: 42px;
    margin-left: 30px;
    font-size:14px;
    color: #666;
}
/* ================================================== */
/* banner start */
.banner{
    height: 420px;
    background: #1c036c url(img/banner2.jpg) no-repeat top center;
}
.subnav{
    float: left;
    width: 150px;
    height: 420px;
    padding: 0 20px;
    background: rgba(0,0,0,.3);
}
.subnav li{
    height: 45px;
    line-height: 45px;
}
.subnav li a{
    color: #fff;
    font-size: 14px;
}
.subnav li a:hover{
    color: rgb(0,89,255);
}
.subnav span{
    float: right;
}
/* ==================================== */
.course{
    float: right;
    width: 228px;
    height: 300px;
    background-color: #fff;
    margin-top: 50px;
}
.course-hd{
    height: 48px;
    background-color: #9bceea;
    font-size: 18px;
    text-align: center;
    line-height: 48px;
    color: #fff;
    font-weight: 700;
}
.course-bd{
    padding: 0 15px;
}
.course-bd ul{

    padding-top:10px ;

}
.course-bd li{
    height: 50px;
    border-bottom: 1px solid #ccc;
    margin-top: 10px;
}
.course-bd li h4{
    font-size: 12px;
    color: #a5a5a5;
}
.course-bd li p{
    font-size: 12px;
    color: #a5a5a5;
}
.all{
    display: block;
    height: 38px;
    border:1px solid #00a4ff;
    margin-top: 10px;
    font-size: 16px;
    color: #00a4ff;
    text-align: center;
    line-height: 38px;
}
.all:hover{
    background-color: rgb()0,17,255;
    color: #fff;
}
/* banner -end========================================= */
/* <!-- goods start --> */
.goods{
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    line-height: 60px;
    box-shadow: 2px 2px 2px rgb(0, 0, 0);
}
.goods h3{
    float: left;
    margin: 0 30px;
    font-size: 16px;
    color: #00a4ff;
}
.goods-item{
    float: left;
    color: #bfbfbf;
}
.goods-item a{
    font-size: 16px;
    color: #050505;
}
.mod{
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #00a4ff;
}
/* goods end */
/* <!-- box start --> */
.box{
    margin-top: 15px;
}
.box-hd{
 height: 60px;
 line-height: 60px;
}
.box-hd h3{
    float: left;
    font-size: 20px;
    color: #494949;
    font-weight: 400;
}
.box-hd a{
    float: right;
    margin-right: 30px;
    font-size:12px;
    color: #a5a5a5;
}
.box-bd{
    width: 1215px;
}
.box-bd li{
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 2px 2px 2px rgb(0, 0, 0,.2);

}
.box-bd img{
    width: 100%;
}
.box-bd li h4{
    margin: 20px;
    font-size: 14px;
    color: #050505;
     font-weight: 400;
}
.box-bd li p {
    margin: 0 20px;
    font-size: 12px;
    color: #999;
}
.box-bd p span{
    color: orange;
}
/* <!-- box end --> */
/* <!-- footer start --> */
    
/* <!-- footer end --> */